<template>
    <div class="home">

        <LeftMenuView :sendleft="isShow" @sendObj1="getObj1" @sendObj2="getObj1" @sendObj3="getObj1"></LeftMenuView>
        <RightContentView @sendShow="show" :title="title" :content="content"></RightContentView>

    </div>
</template>

<script>
    import LeftMenuView from "@/views/LeftMenuView";
    import RightContentView from "@/views/RightContentView";

    export default {
        name: "HomeView",
        components: {RightContentView, LeftMenuView},
        data() {
            return {
                isShow: false,
                title: "",
                content: "",
            }
        },
        methods: {
            show(k){
                this.isShow =k;
            },
            getObj1(k,v){
                this.title=k;
                this.content=v;
                console.log(this.title)
                console.log(this.content)
            },


        },

        computed: {

        }
    }
</script>

<style scoped>

</style>